<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<div>

	<input id="ciIncidentCount" name="ciIncidentCount" type="hidden"
		value="${fn:length(incedentEntities)}">
	<table class="ci-failure-info">
		<tr>
			<td><c:forEach items="${incedentEntities}" var="incident">
					<table class="comment">
						<tr>
							<td class="header" colspan="2">发生时间：<fmt:formatDate
									value="${incident.create_date}" pattern="yyyy-MM-dd HH:mm" />
								&nbsp;&nbsp;申请人：<a class="nui-txt-link"
								href="javascript:void(0)"
								onclick="javascript:isperp.openDialog({windowSize:'normal',contentUrl:'customer/user/view?id=${incident.cus_user_id}'});return false;">${incident.cus_user_name}</a>&nbsp;&nbsp;故障编号:
								<a class="nui-txt-link"
								href="javascript:isperp.openDialog({contentUrl:'incident/incident/view?id=${incident.id}'});">${incident.code}</a>
							</td>
						</tr>

						<tr>
							<td class="tdCaption">标题:</td>
							<td class="tdContent">${incident.title}</td>
						</tr>
						<tr>
							<td class="tdCaption">事件描述:</td>
							<td class="tdContent">${incident.description}</td>
						</tr>

						<tr>
							<td class="buttom" colspan="2">解决人：<a href=""
								onclick="isperp.openDialog({contentUrl:'app/user/view?id=${incident.solver_id}'});return false;">${incident.solver_name}</a>&nbsp;&nbsp;解决时间：<fmt:formatDate
									value="${incident.solved_date}" pattern="yyyy-MM-dd HH:mm" />
							</td>
						</tr>
					</table>

				</c:forEach>
			</td>
		</tr>
	</table>
</div>
